/*
 * @Author: DUST
 * @Date: 2023-05-28 16:04:47
 * @LastEditors: DUST
 * @LastEditTime: 2023-05-28 16:18:03
 * @FilePath: \koa-node-ts\utils\MD5.ts
 * @Description: 
 * undefined
 */
import crypto from "crypto";
export default function MD5(data: string): string {
  return crypto.createHash("md5").update(data).digest("hex");
}